/**
 * Created by Administrator on 2017/3/21.
 */
var key = getCookie('key');
if(!key){
    window.location.href = WapSiteUrl+'/tmpl/member/login.html';
}
if(key){
    $.ajax({
        type:'post',
        url:ApiUrl+"/index.php?act=member_promotion&op=distributio_order",
        data:{key:key},
        dataType:'json',
        success:function(result){
            data = result['datas']

        }
    });
} 